package cn.holy.app.xcddt.domain

import androidx.room.Entity
import androidx.room.Ignore
import androidx.room.PrimaryKey
import com.google.gson.annotations.SerializedName
import java.io.Serializable
import java.util.*
import kotlin.collections.ArrayList

/**
 * Created by 69568 on 2018/2/27.
 */
@Entity(tableName = "record_groups")
class RecordGroup : Serializable {

    /**
     * 巡查次数
     */
    @PrimaryKey(autoGenerate = true)
    var id: Int = 0

    var record_num: Int = 0

    /**
     * 巡查人：复数
     */
    var record_username: String? = null

    /**
     * 记录人
     */
    var record_people: String? = null

    var status: Int = 0

    var user_id:Int = 0

    @Ignore
    var record_count: Int = 0

    @Ignore
    var list: ArrayList<RecordBean>? = null
    /**
     * 巡查时间
     */
    var record_date: Date? = null

    override fun toString(): String {
        return "RecordGroup(id=$id, record_username=$record_username, record_people=$record_people, status=$status, record_count=$record_count, list=$list, record_date=$record_date)"
    }


}